<h1>Listing burndowns</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Description</th>
    <th>Account</th>
    <th>Project</th>
    <th>Project name</th>
    <th>Milestone</th>
    <th>Milestone title</th>
    <th>Milestone deadline</th>
  </tr>

<% for burndown in @burndowns %>
  <tr>
    <td><%=h burndown.name %></td>
    <td><%=h burndown.description %></td>
    <td><%=h burndown.account_id %></td>
    <td><%=h burndown.project_id %></td>
    <td><%=h burndown.project_name %></td>
    <td><%=h burndown.milestone_id %></td>
    <td><%=h burndown.milestone_title %></td>
    <td><%=h burndown.milestone_deadline %></td>
    <td><%= link_to 'Show', burndown %></td>
    <td><%= link_to 'Edit', edit_burndown_path(burndown) %></td>
    <td><%= link_to 'Destroy', burndown, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New burndown', new_burndown_path %>
